import request from '@/utils/request'

// 列表
export function getDailyList(query) {
	return request({
		url: '/bot/daily/list',
		method: 'get',
		params: query
	})
}

// 列表
export function getDailyOwnList(query) {
	return request({
		url: '/bot/daily/ownList',
		method: 'get',
		params: query
	})
}

// 列表
export function getDailyLikeList(query) {
	return request({
		url: '/bot/daily/like/list',
		method: 'get',
		params: query
	})
}

// 新增
export function addDaily(data) {
	return request({
		url: '/bot/daily/add',
		method: 'post',
		data: data
	})
}

// 更新
export function updateDaily(data) {
	return request({
		url: '/bot/daily/update',
		method: 'post',
		data: data
	})
}

// 删除
export function removeDaily(data) {
	return request({
		url: '/bot/daily/remove',
		method: 'post',
		data: data
	})
}

// 新增
export function addDailyLike(data) {
	return request({
		url: '/bot/daily/like/add',
		method: 'post',
		data: data
	})
}